package com.ruoyi.production.service.pesticide;

import com.ruoyi.production.domain.pesticide.PesticideApply;

import java.util.List;

/**
 * 农药申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface IPesticideApplyService
{
    /**
     * 查询农药申请
     *
     * @param pesticideApplyId 农药申请ID
     * @return 农药申请
     */
    public PesticideApply selectPesticideApplyById(Long pesticideApplyId);

    /**
     * 查询农药申请列表
     *
     * @param pesticideApply 农药申请
     * @return 农药申请集合
     */
    public List<PesticideApply> selectPesticideApplyList(PesticideApply pesticideApply);

    /**
     * 新增农药申请
     *
     * @param pesticideApply 农药申请
     * @return 结果
     */
    public int insertPesticideApply(PesticideApply pesticideApply);

    /**
     * 修改农药申请
     *
     * @param pesticideApply 农药申请
     * @return 结果
     */
    public int updatePesticideApply(PesticideApply pesticideApply);

    /**
     * 批量删除农药申请
     *
     * @param pesticideApplyIds 需要删除的农药申请ID
     * @return 结果
     */
    public int deletePesticideApplyByIds(Long[] pesticideApplyIds);

    /**
     * 删除农药申请信息
     *
     * @param pesticideApplyId 农药申请ID
     * @return 结果
     */
    public int deletePesticideApplyById(Long pesticideApplyId);
}
